package com.ask.forMe.model.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class GroupBuyMember {
    public static final Integer STATUS_PENDING = 0;
    public static final Integer STATUS_ISPAID = 0;
    public static final Integer STATUS_REFUNDED = 0;

    Long id;
    Long teamId;          // 团ID
    Long userId;          // 用户ID
    LocalDateTime joinTime;        // 加入时间
    String orderNo;       // 关联订单号
    Long orderId;
    Integer payStatus;        // 状态：待支付、已支付、已退款
}